﻿<?php
	$id_comment = (int)$_POST['id_comment'];
	$str = '
		<form method="post" action="" id="id_form_reply_'.$id_comment.'" class="class_form_reply">
			<div class="message_input_contain">
				<div class=" message_input_con"><input type="text" class="message_input" name="content_reply" /></div>
				<div class="message_btn_con"><input type="submit" class="message_btn" id="id_reply_submit_'.$id_comment.'" value="评 论" /></div>
			</div>
			<input type="hidden" id="id_reply_board_'.$id_comment.'" name="id_board" value="'.$id_comment.'">
			<input type="hidden" id="id_reply_typeRole_'.$id_comment.'" name="type_role" value="">
			<input type="hidden" id="id_reply_idRole_'.$id_comment.'" name="id_role" value="">
		</form>
		<div id="id_div_reply_'.$id_comment.'"></div>';
		
	/*
	
	*/
	include("../class/message_reply.class.php");
	$class_reply = new Message_Reply();
	$str .= $class_reply->ShowAllReplyByCommentId($id_comment);
	echo json_encode(array('status'=>1,'html'=>$str));
	//echo json_encode(array(status=>1,html=>'success!'));
?>